package com.gruopbuying.agent.domain;

import java.io.Serializable;
import java.util.Date;


/**
 * @author WANGNIGN
 * @email wyn20140226@aliyun.com
 * @date 2019-07-22 17:48:37
 * @des 代理商信息表
 */
public class SysAgentInfoDO implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 代理商id
     */
    private String id;

    /**
     * 代理商账号
     */
    private String agentNo;

    /**
     * 代理商密名称
     */
    private String agentName;

    /**
     * 代理商密码
     */
    private String password;

    /**
     * 代理商级别
     */
    private String grade;

    /**
     * 代理商状态名称:停用-STOP-00,正常-START-01,冻结-FROZEN-02
     */

    private String status;
    /**
     * 代理商状态名称:停用-STOP-00,正常-START-01,冻结-FROZEN-02
     */

    private String statusName;


    /**
     * 代理商负责人姓名
     */
    private String leaderName;

    /**
     * 代理商负责人联系方式
     */
    private String leaderPhone;

    /**
     * 代理商地址
     */
    private String address;

    /**
     * 代理商所在省名称
     */
    private String province;

    /**
     * 代理商所在市名称
     */
    private String city;

    /**
     * 代理商所在市的区县
     */
    private String district;

    /**
     * 代理商上级代理id
     */
    private String agentRel;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 更新时间
     */
    private Date gmtModified;

    /**
     * 删除标记:未删除-UNDEL-1,删除-DEL-0
     */
    private String isDelete;

    public SysAgentInfoDO() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAgentNo() {
        return agentNo;
    }

    public void setAgentNo(String agentNo) {
        this.agentNo = agentNo;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public String getLeaderPhone() {
        return leaderPhone;
    }

    public void setLeaderPhone(String leaderPhone) {
        this.leaderPhone = leaderPhone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAgentRel() {
        return agentRel;
    }

    public void setAgentRel(String agentRel) {
        this.agentRel = agentRel;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public SysAgentInfoDO(String id, String agentNo, String agentName, String password, String grade, String status, String statusName, String leaderName, String leaderPhone, String province, String city, String district, String agentRel, Date gmtCreate, Date gmtModified, String isDelete) {
        this.id = id;
        this.agentNo = agentNo;
        this.agentName = agentName;
        this.password = password;
        this.grade = grade;
        this.status = status;
        this.statusName = statusName;
        this.leaderName = leaderName;
        this.leaderPhone = leaderPhone;
        this.province = province;
        this.city = city;
        this.district = district;
        this.agentRel = agentRel;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.isDelete = isDelete;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "SysAgentInfoDO{" +
                "id='" + id + '\'' +
                ", agentNo='" + agentNo + '\'' +
                ", agentName='" + agentName + '\'' +
                ", password='" + password + '\'' +
                ", grade='" + grade + '\'' +
                ", status='" + status + '\'' +
                ", statusName='" + statusName + '\'' +
                ", leaderName='" + leaderName + '\'' +
                ", leaderPhone='" + leaderPhone + '\'' +
                ", address='" + address + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", agentRel='" + agentRel + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", isDelete='" + isDelete + '\'' +
                '}';
    }
}
